zeek37.html

 

<!DOCTYPE html>
<html lang="en">
 
<!-- Instead of having property changes take effect immediately, you can cause the 
changes in a property to take place over a period of time -->

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>CSS Transition Effects</title>
    <style>
        .box {
            borderblue solid 2px;
            displayflex;
            width34%;
            height34vh;
            marginauto;
            margin-top150px;
            justify-contentcenter;
            align-itemscenter;
            colorrgb(2362222);
            font-size34px;
            font-weightbold;
            background-colorcyan;
            transition-property: background-color;
transition-duration5s;
            transition-delay1s;
            transition-timing-functionease-in-out;
        }

        .box:hover {
            background-colorrgb(22124320);
            colorrgb(2055255);
            font-size54px;
            width54%;
            height54vh;
            border-radius34px;
        }
    </style>
</head>

<body>
    <h1 style="margin-left: 273px;">WELCOME TO WEBPAGE WITH CSS TRANSITION EFFECTS</h1>
    <div class="box">
        This box has transition property.
    </div>
</body>

</html>

Comments

Popular posts from this blog

INDEX OF ZEEK HTML,CSS and JS